package cn.itsource.org.mapper;

import cn.itsource.base.mapper.BaseMapper;
import cn.itsource.org.domain.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Mapper//mybatis的mapper标识
@Repository//标识持久层
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee selectByName(String username);

    List<Employee> selectShopEmployee(Long shopId);
}
